﻿using KZ.Express.Resource;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KZ.Express.ENT
{
    public class LogENT : EntityBase
    {
        [Output]
        public int LogID { get; set; }

        public DateTime? Date { get; set; }

        public int?  UserID { get; set; }

        public string TableName { get; set; }

        public string Event { get; set; }

        public string OldContent { get; set; }

        public string NewContent { get; set; }

        [NotInsertUpdate]
        public string FullName { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "Logs"; } }

        /// <summary>
        /// proc_Carrier_Select
        /// </summary>
        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_Log_Select"; } }
    }
}
